//include "/Users/YGR/Documents/workspace/zglc-new/ms-base/doc/thrift/BaseStructs.thrift"
include "BaseStructs.thrift"

namespace java com.zglc.ms.msg.thrift.gen


/**
 * 公共基础服务接口
 */
service MsgService{

    /**
     * 获取 access_token
     *
     * @return
     */
    BaseStructs.TResponse getAccessToken(1:map<string,string> clientMap);

    /**
     * 获取 js_api_ticket
     *
     * @return
     */
    BaseStructs.TResponse getJsApiTicket(1:map<string,string> clientMap);

    /**
     * 获取页面签名
     *
     * @param url
     * @param timestamp
     * @param nonceStr
     * @return
     * @
     */
    BaseStructs.TResponse getJssdkSignature(1:map<string,string> clientMap,2:string url,3: string timestamp,4: string nonceStr) ;

    
    /**
     * 发送企业号异常通知
     *
     * 
     * @param content
     *            内容
     */
    BaseStructs.TResponse sendExceptionWxEnterpriseTextMsg(1:map<string,string> clientMap, 2:string content);

}